package md.mru.transfer.optimized.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "citizens", schema = "c##mru_optimized")
public class Citizen implements Serializable {

    private static final long serialVersionUID = -4742866230601154594L;

    @Id
    @Column(name = "id", unique = true, nullable = false, precision = 10, scale = 0)
    private long id;

    @Column(name = "citizenship_id")
    private Long citizenship;

    @Column(name = "folder_id", precision = 10, scale = 0)
    private Long folder;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Long getCitizenship() {
        return citizenship;
    }

    public void setCitizenship(Long citizenship) {
        this.citizenship = citizenship;
    }

    public Long getFolder() {
        return folder;
    }

    public void setFolder(Long folder) {
        this.folder = folder;
    }
}


